From fd553ae5f0f57baa63d033bedee84f607de57d33 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Wed, 3 Sep 2014 15:09:59 +0200 Subject: [PATCH] x86/NMI: allow passing just "watchdog" again This capability got inadvertently lost in commit 3ea2ba980a ("x86/NMI: allow processing unknown NMIs when watchdog is enabled") due to an oversight of mine. Reported-by: Ross Lagerwall Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper --- xen/arch/x86/nmi.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/xen/arch/x86/nmi.c b/xen/arch/x86/nmi.c index 055f4efc2d..f8f5e4a41c 100644 --- a/xen/arch/x86/nmi.c +++ b/xen/arch/x86/nmi.c @@ -49,6 +49,12 @@ bool_t watchdog_force = 0; static void __init parse_watchdog(char *s) { + if ( !*s ) + { + opt_watchdog = 1; + return; + } + switch ( parse_bool(s) ) { case 0: -- 2.30.2